Problem Note 54134: NullPointerException when attempting to obtain SAS® Migration Utility package for migration
When you migrate SAS® Enterprise GRC, one step is to use a SAS Migration Utility to gather information from the source environment. That might fail with a NullPointerException like the following:
2013-01-22 13:55:38,430 [INFO ]
{dsbatchsrvExport.FullAnalyze.DSBatchSrvAnalyze} Getting the server
contexts : /install/opgrc_dxd/config/Lev1
2013-01-22 13:55:38,545 [INFO ]
{dsbatchsrvExport.FullAnalyze.DSBatchSrvAnalyze} Migration is supported
for this version. Located BatchServer server directory in
/install/opgrc_dxd/config/Lev1/SASApp context.
2013-01-22 13:55:38,571 [INFO ]
{dsbatchsrvExport.FullAnalyze.DSBatchSrvAnalyze} Could Not find
configurable properties for SASApp
...
...
2013-01-22 13:55:38,596 [ERROR ] Target dsbatchsrvExport.FullAnalyze
threwException Exception occured : java.lang.NullPointerException
at com.sas.apps.migration.smu.taskdefs.commonserver.scripts.
LocationHandler.describeConfigurableObjects(LocationHandler.java:70).
/tmp/selfgz1179661212211/Extensions/dsbatchsrv/dsbatchsrv.xml:24:
Exception occured : java.lang.NullPointerException
at com.sas.apps.migration.smu.taskdefs.commonserver.scripts.
LocationHandler.describeConfigurableObjects(LocationHandler.java:70)
at com.sas.apps.migration.smu.taskdefs.commonserver.ServerAnalyzer.
execute(ServerAnalyzer.java:560)
at org.apache.tools.ant.UnknownElement.executeUnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.
invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.tools.ant.dispatch.DispatchUtils.
execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargetsProject.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at com.sas.apps.migration.smu.Framework.
executeTarget(Framework.java:817)
at com.sas.apps.migration.smu.Framework.doAnalysis(Framework.java:579)
at com.sas.apps.migration.smu.Framework.
executeProjects(Framework.java:488)
at com.sas.apps.migration.smu.Main.main(Main.java:56)
2013-01-22 13:55:38,597 [ERROR ] {dsbatchsrvExport.FullAnalyze}
Target 'FullAnalyze' failed with message 'Exception occured :
java.lang.NullPointerException
at com.sas.apps.migration.smu.taskdefs.commonserver.scripts.
LocationHandler.describeConfigurableObjects
(LocationHandler.java:70)'.
This occurs because SASApp is of type dsbatchserver, and is not associated with a logical application server. To resolve the problem, delete the SASApp server from the Server Manager in Metadata, and run the SAS Migration Utility again:
- Log on to the SAS Management Console.
- Navigate to Environment Management ► Server Manager.
- Right-click SASApp server and select Delete.
Operating System and Release Information
SAS System | SAS Enterprise GRC | Microsoft® Windows® for x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 8 Enterprise 32-bit | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 8 Enterprise x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 8 Pro 32-bit | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 8 Pro x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 8.1 Enterprise 32-bit | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 8.1 Enterprise x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 8.1 Pro | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 8.1 Pro 32-bit | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows 95/98 | 5.1 | | | |
Microsoft Windows 2000 Advanced Server | 5.1 | | | |
Microsoft Windows 2000 Datacenter Server | 5.1 | | | |
Microsoft Windows 2000 Server | 5.1 | | | |
Microsoft Windows 2000 Professional | 5.1 | | | |
Microsoft Windows NT Workstation | 5.1 | | | |
Microsoft Windows Server 2003 Datacenter Edition | 5.1 | | | |
Microsoft Windows Server 2003 Enterprise Edition | 5.1 | | | |
Microsoft Windows Server 2003 Standard Edition | 5.1 | | | |
Microsoft Windows Server 2003 for x64 | 5.1 | | | |
Microsoft Windows Server 2008 | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows Server 2008 R2 | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows Server 2008 for x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows Server 2012 Datacenter | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows Server 2012 R2 Datacenter | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows Server 2012 R2 Std | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows Server 2012 Std | 5.1 | 6.1 | | 9.4 TS1M2 |
Microsoft Windows XP Professional | 5.1 | | | |
Windows 7 Enterprise 32 bit | 5.1 | 6.1 | | 9.4 TS1M2 |
Windows 7 Enterprise x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Windows 7 Home Premium 32 bit | 5.1 | 6.1 | | 9.4 TS1M2 |
Windows 7 Home Premium x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Windows 7 Professional 32 bit | 5.1 | 6.1 | | 9.4 TS1M2 |
Windows 7 Professional x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Windows 7 Ultimate 32 bit | 5.1 | 6.1 | | 9.4 TS1M2 |
Windows 7 Ultimate x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Windows Millennium Edition (Me) | 5.1 | | | |
Windows Vista | 5.1 | | | |
Windows Vista for x64 | 5.1 | | | |
64-bit Enabled AIX | 5.1 | 6.1 | | 9.4 TS1M2 |
64-bit Enabled Solaris | 5.1 | 6.1 | | 9.4 TS1M2 |
HP-UX IPF | 5.1 | 6.1 | | 9.4 TS1M2 |
Linux for x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
Solaris for x64 | 5.1 | 6.1 | | 9.4 TS1M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-09-22 07:26:52 |
Date Created: | 2014-09-16 12:24:03 |